home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.2 KB | 32 lines | [TEXT/GEOL] |
- Item 4970437 12-Sept-90 06:26PDT
-
- From: SW0075 SWD VTS AB, Goteborg,IDV
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: Sketching Polygons
-
- Hi all
-
- I have implemented sketching of polygons according to Kurt Schmucker's
- recommendations (in FrameWorks, vol 4, #2, May 1990) by overriding the
- DoSetCursor method to provide a rubberbanded feedback.
-
- My first problem is that the rubber band sometimes "freeze" for one or two
- seconds in polygon sketcher mode, specially when the mouse is moved quickly. I
- guess it might have something to do with MacApp's idle mechanism. When I set
- gApplication.fTicksTilNextIdle:=NIL in my DoSetCursor method the feedback gets
- somewhat better, but there are still undesirable interrupts.
-
- My second problem is more a design issue. The approach of polygon sketching
- with DoSetCursor doesn't seem to be suitable when the cursor is moved outside
- the view. The rubber band is then "freezed" with one end at the edge of the
- view (just at the exit point of the curser) since DoSetCursor is not called
- while the cursor is outside the view's frame.
-
- I would be grateful for any suggestions on how to overcome these problems.
-
- Bo Ridderstolpe
- VTS systems AB
-
-